$( "#${renderTo!""}" ).datepicker({
	dateFormat:"${dateFormat!"yy-mm-dd"}",
	<#if minDate??>
	minDate:"${minDate}",
	</#if>
	<#if maxDate??>
	maxDate:"${maxDate}",
	</#if>
	<#if buttonImage??>
	showOn: "button",
	buttonImage: "${buttonImage}",
	buttonImageOnly: true,
	</#if>
	showButtonPanel:${showButtonPanel?string("true","false")},
	changeMonth:${changeMonth?string("true","false")},
	changeYear:${changeYear?string("true","false")},
	showOtherMonths:${showOtherMonths?string("true","false")},
	selectOtherMonths:${selectOtherMonths?string("true","false")},
	numberOfMonths:${numberOfMonths!1},
	onClose:function(){
		<#if onClose??>
			${onClose}
		</#if>
		
	},
	beforeShow:function(){
		<#if beforeShow??>
			${beforeShow}
		</#if>
		
	},
	onSelect:function(){
		<#if onSelect??>
			${onSelect}
		</#if>
		
	}
	
});